package com.langsin.jiangjinheng.mapper;

import com.langsin.bean.Orders;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface OrdersMapper {

    Orders queryOrdersAndUserByOrdersId(Integer orderId);

    Orders queryOrderOrderDetails(Integer orderId);
    //@Select("select * from orders where userId = #{userId}")
    Orders queryOrdersByUserId(Integer userId);
}
